<?php
session_start();
?>
<html>

<head>
<?php $a[0] = "active"; ?>
<?php
include ('head.php');

?>
</head>

<body>
<?php
include ('dbcon.php');
include ('webtitle.php');
include ('topbannermenu.php');
include ('leftmenu.php');
include ('rightmenu.php');

?>	
   
<div id = "divMid">
<div id= "thongtinkh">
<?php
if(!isset($_SESSION['myname']))
	{
		echo 'Vui lòng đăng nhập .';
	}
	else
	{
		$a = mysql_fetch_array(mysql_query("select * from khachhang where id='".$_SESSION['myname']."'"));
		echo 'Xin chào '.$a[2];
		echo "<br><br>";
		echo "<form action='xulynapthe.php' method = 'post'>";
		echo '<br><table><tr  height="50px" ><td width="160px">';
		echo 'Tên tài khoản  : </td><td>'.$_SESSION['myname'];
		echo "</td></tr><tr height='50px'><td width='160px'>Nhập mã thẻ : </td><td><input type='text' name = 'tbxMaThe' id = 'tbxMaThe' class = 'css' /> </td></tr>"  ;
		echo "<tr height='50px' ><td width='160px'></td><td><input type = 'submit' value = 'Nạp Thẻ' class = 'css'/></td></tr></table>";
		echo "</form>";
	}
?>
</div></div>
		<div class="clr"></div>
		<?php 
		include ('footer.php');
		?>
</div>
</body>
</html>